import request from '@/utils/request'

// 库内组合-列表
export function queryInventoryCountList(data) {
  return request({
    url: '/wms_v1_pc/warehouse-combination-order/list-warehouse-combination-order',
    method: 'POST',
    data
  })
}

// 库内组合-添加
export function saveInventoryCount(data) {
  return request({
    url: '/wms_v1_pc/warehouse-combination-order/add-warehouse-combination-order',
    method: 'POST',
    data
  })
}

// // 库内组合-修改
// export function updateInventoryCount(data) {
//   return request({
//     url: '/wms_v1_pc/inventory-count-order/update-inventory-count-order',
//     method: 'POST',
//     data
//   })
// }

// 库内组合-查看
export function getInventoryCountDetail(params) {
  return request({
    url: '/wms_v1_pc/warehouse-combination-order/get-warehouse-combination-order-detail',
    method: 'GET',
    params
  })
}

// 库内组合-审核
export function verifyInventoryCount(data) {
  return request({
    url: '/wms_v1_pc/warehouse-combination-order/verify-warehouse-combination-order',
    method: 'POST',
    data
  })
}

// 库内组合-取消
export function cancelInventoryCount(data) {
  return request({
    url: '/wms_v1_pc/warehouse-combination-order/cancel-warehouse-combination-order',
    method: 'POST',
    data
  })
}
